#ifndef CURVETABLE_H
#define CURVETABLE_H

#include <QTableView>

#include "Point.h"

class CurveTableModel;
class CurveTableView : public QTableView
{
    Q_OBJECT
public:
    CurveTableView(QWidget *parent = nullptr);
    ~CurveTableView();

    void SetShowPoints(const QList<QSharedPointer<Point>> &showPoints);
    void Update();

private:
    void Init();

private:
    CurveTableModel *curveTableModel{ nullptr };

};

#endif // CURVETABLE_H
